FROM ansible/centos7-ansible

LABEL maintainer="zhutan <gnzhutan@outlook.com>"

RUN mkdir -p /app/logs

COPY ./lib /app/lib
COPY ./zyplayer-doc.jar /app

WORKDIR /app

CMD ["java", "-Dfile.encoding=utf-8", "-Dloader.path=/app/lib", "-jar", "/app/zyplayer-doc.jar" , "/app/logs/zyplayer-doc.log"]
